package com.mdb.open.trade.domain.bo.trade;

import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: you.yichao
 * @create: 2019-08-02 12:08
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="SaveCusAccBo", description="保存客户账户Bo对象")
public class SaveCusAccBo extends DataObjectBase {

    /**
     * 客户编码
     */
    @ApiModelProperty(value = "客户编码")
    @NotBlank(message = "客户编码不允许为空")
    private String customerCode;

    /**
     * 客户名称
     */
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    /**
     * 银行客户号
     */
    @ApiModelProperty(value = "银行客户号")
    @NotBlank(message = "银行客户号不允许为空")
    private String bankClientNo;

}
